package com.fxnotes.common.ui;

import javafx.scene.Parent;

public abstract class NodePresenter<T extends Parent> {

    private final String name;

    public NodePresenter(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public abstract T getNode();
}